Generative Kunst mit p5.js
  • Twitter
  • Facebook
  • Snapchat
  • Instagram
  • Medium

Basis für p5.js

Zeichen

Mit p5.js können verschiedene Zeichen dargestellt werden. Da gibt arc(), ellipse(), circle(), line(), point(), quad(), rect(), square(), triangle() Funktionen.

Beispiel

arc(x, y, w, h, start, stop, [mode], [detail])

ellipse(x, y, w, [h])/ellipse(x, y, w, h, [detail])

circle(x, y, d), d=Diameter

line(x1, y1, x2, y2)/line(x1, y1, z1, x2, y2, z2)

point(x, y, [z])

quad(x1, y1, x2, y2, x3, y3, x4, y4)

rect(x, y, w, [h], [tl], [tr], [br], [bl]), tl=linksoben trim, tr=rechtsoben trim, br=rechtsunten trim, bl=linksunten trim

square(x, y, s, [tl], [tr], [br], [bl])

triangle(x1, y1, x2, y2, x3, y3)

  • Learn More

Menu

  • Über die Website
    • Warum online Website?
    • Computersprache für die Generative Kunst
  • Generative Kunst mit p5.js
    • Generative Kunst
    • p5.js
  • Basis für p5.js
    • Create Canvas
    • Zeichen
    • Zeichnen
    • Bewegung
    • Random/Perlin noise
  • Beispiele
    • Experiment
    • Random Kreis
    • Fractal (Kopie von p5js.org)
    • Random Grid
    • Unendliche Vierecke
    • Sketch
    • Remake
    • Georg Nees

Medienwissenschaft Student
an der Humboldt Universität zu Berlin

  • junghee.yoon@hu-berlin.de
  • (000) 000-0000
  • Georgenstr. 47, 10117 Berlin, DE
protokol.docx

© Untitled. All rights reserved. Demo Images: Unsplash. Design: HTML5 UP.